package com.sdry.approval.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sdry.common.BaseEntity;
import lombok.Data;
/**
 * @program: info_sdry
 * @description: 请假申请
 * @author: cb
 * @create: 2020-02-21 15:56
 **/
@Data
public class LeaveRequest extends BaseEntity {
    /**请假申请**/
    @TableId(type = IdType.AUTO)
    private Long leaveRequestId;
    /**类型**/
    private String  leaveRequestType;
    /**开始时间**/
    private String startDate;
    /**结束时间**/
    private String  endDate;
    /**时长**/
    private String  duration;
    /**事由**/
    private String cause;
    /**图片路径**/
    private String imageUrl;
    /**文件路径**/
    private String fileUrl;

    /**审批**/
    @TableField(exist = false)
    private String proposal;

    @TableField(exist = false)
    private Long copyGiveBy;
}
